package com.yehangtech.designpattern.结构型_装饰者;

import com.yehangtech.designpattern.结构型_装饰者.intercepet.LoginSsoDecorator;
import com.yehangtech.designpattern.结构型_装饰者.intercepet.SsoInterceptor;

public class Main {
    public static void main(String[] args) {
        LoginSsoDecorator loginSsoDecorator = new LoginSsoDecorator(new SsoInterceptor());
        System.out.println(loginSsoDecorator.preHandler("successcjyyp", null, null));
    }
}
